//
//  emoji +String.swift
//  emoji
//
//  Created by 曹晓龙 on 15/10/23.
//  Copyright © 2015年 曹晓龙. All rights reserved.
//

import Foundation

// MARK: - 16进制表情字符转成String
extension String{
    
    
    var emoji:String{
        
        let scan = NSScanner(string: self)
        
        var value:UInt32 = 0
        
        scan.scanHexInt(&value)
        
        let char = Character(UnicodeScalar(value))
        
        return "\(char)"
    }
    
}